How Windows 95 processes Autoexec.bat
AUTOEXEC.BAT is not required for Windows 95, but it is included for compatibility purposes. If the computer has an Autoexec.bat file, each line is processed in sequence during system startup. Autoexec.bat can contain additional application-specific entries that are run in the sequence they are listed.
Default settings corresponding to Autoexec.bat commands are in IO.sys for Windows 95.
Command Meaning
net start .......... Binds the real-mode network components and validates the binding. Any errors received are placed in the Ndislog.txt file. (Sysinit or Command.com performs the necessary net start.)
set path .......... Sets the path as specified.
Following is the default Windows 95 environment:
tmp=c:\windows\temp
temp=c:\windows\temp
prompt=$p$g
path=c:\windows;c:\windows\command
comspec=c:\windows\command\command.com
When Windows 95 is set up, the following changes are made to Autoexec.bat:
- Update PATH statement
- REM is used to comment out incompatible TSRs
- Delete any WIN statement (or equivalent) and Share.exe
- Copy the original Autoexec.bat to Autoexec.dos
- Set Temp directory
For diskless workstations, if the TEMP and TMP environment variables are not set, Windows 95 Setup creates a TEMP directory in the home directory (which can be on the local hard disk or on the network), and adds set tmp= and set temp= entries in Autoexec.bat that point to the new directory.
The following tables describe changes that Setup makes to Autoexec.bat. For entries that are removed, Setup uses rem to comment out the line.
Commands Removed from Autoexec.bat
dosshellfastopenshare winsetcfg UnSet=comspec=ascsi
The following lines that start disk caches are removed from Autoexec.bat:
Command line Disk cache
CACHE-AT ..........Golden Bow Systems software
CACHE-EM ..........Golden Bow Systems software
CACHE
FAST512
FLASH ..........Flash disk cache utility
HYPER286 ..........Hyper disk cache utility
HYPER386 .........Shareware disk cache
HYPERDKC ..........Hyper disk cache utility
HYPERDKE ..........Hyper disk cache utility
HYPERDKX ..........Hyper disk cache utility
IBMCACHE
ICACHE
MCACHE ............Paul Mace utilities
NCACHE ............Norton Utilities disk cache utility
PC-CACHE ..........PC Tools disk cache utility
PC-KWIK ...........PC-Kwik disk cache utility
PCKWIN ............Multisoft Super PC-Kwik Windows driver
QCACHE ..........386MAX disk cache utility
SCPLUS ............SpeedCache for disks and CD-ROM
SMARTDRV ..........Microsoft SmartDrive disk utility
SUPERON ...........Batch file which turns on Super PC-Kwik
SUPERPCK ..........Multisoft Super PC-Kwik disk cache
ZCACHE ............Zenith Data Systems OEM from DOS 3.3 and 4.01